<template>
  <div>
    <el-input
      v-model="query.modelCode"
      clearable
      size="small"
      placeholder="输入模型编码搜索"
      style="width: 200px"
      class="filter-item"
      @keyup.enter.native="crud.toQuery"
    />
    <el-input
      v-model="query.modelName"
      clearable
      size="small"
      placeholder="输入模型名称搜索"
      style="width: 200px"
      class="filter-item"
      @keyup.enter.native="crud.toQuery"
    />
    <rrOperation />
  </div>
</template>

<script>
import { header } from "@crud/crud";
import rrOperation from "@crud/RR.operation";
import DateRangePicker from "@/components/DateRangePicker";
export default {
  components: { rrOperation, DateRangePicker },
  mixins: [header()],
  props: {
    permission: {
      type: Object,
      required: true,
    },
  },
};
</script>
